/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package unilearn.dao;

import java.util.List;
import unilearn.vo.Person;

/**
 *
 * @author Yat
 */
public interface PersonDAO {

    public abstract List<Person> getAll() throws Exception;

    public abstract Person get(int id) throws Exception;

    public abstract List<Person> find(Person person) throws Exception;

    public abstract Person insert(Person person) throws Exception;

    public abstract Person update(Person person) throws Exception;

    public abstract void delete(Person person) throws Exception;
}
